import http from '../../http'
// 初始化页面
const initorders = async (obj) => {
    let data = await http({
        method: 'GET',
        url: 'orders',
        params: obj
    })
    return data
}
// 查看物流信息
const logistics = async (id) => {
    let data = await http({
        method: 'GET',
        url: `/kuaidi/${id}`,
    })
    return data
}
export {
    initorders,
    logistics
}